#pragma once
#include"Protocol.hpp"
#define INFO 1
#define WARMING 2
#define ERROR 3
#define FATAL 4
class Task{ 
  private:
    CallBack callback;
    int* sock;
  public:
    Task(int* _s):sock(_s)
    {}
    void operator()()
    {
      callback(sock);
    }
};
